package com.manpower.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * MpResume entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "mp_resume", catalog = "manpower")
public class MpResume implements java.io.Serializable {

	// Fields

	private String id;
	private MpPosition mpPosition;
	private String resumeName;
	private Integer resumeSex;
	private String resumeRecruitmentType;
	private String resumeEmail;
	private String resumePhone;
	private String resumeHukou;
	private String resumeAdress;
	private String resumeMianmao;
	private String resumeShenfen;
	private String resumeBiye;
	private Integer resumeXueli;
	private String resumeZhuanye;
	private String resumeJingyan;
	private String resumeMoneyhope;
	private String resumeZaizhi;
	private String resumeYingjie;
	private Timestamp resumeCreattime;
	private String resumeLvli;
	private String resumeJianliurl;

	// Constructors

	/** default constructor */
	public MpResume() {
	}

	/** minimal constructor */
	public MpResume(String id) {
		this.id = id;
	}

	/** full constructor */
	public MpResume(String id, MpPosition mpPosition, String resumeName,
			Integer resumeSex, String resumeRecruitmentType,
			String resumeEmail, String resumePhone, String resumeHukou,
			String resumeAdress, String resumeMianmao, String resumeShenfen,
			String resumeBiye, Integer resumeXueli, String resumeZhuanye,
			String resumeJingyan, String resumeMoneyhope, String resumeZaizhi,
			String resumeYingjie, Timestamp resumeCreattime, String resumeLvli,
			String resumeJianliurl) {
		this.id = id;
		this.mpPosition = mpPosition;
		this.resumeName = resumeName;
		this.resumeSex = resumeSex;
		this.resumeRecruitmentType = resumeRecruitmentType;
		this.resumeEmail = resumeEmail;
		this.resumePhone = resumePhone;
		this.resumeHukou = resumeHukou;
		this.resumeAdress = resumeAdress;
		this.resumeMianmao = resumeMianmao;
		this.resumeShenfen = resumeShenfen;
		this.resumeBiye = resumeBiye;
		this.resumeXueli = resumeXueli;
		this.resumeZhuanye = resumeZhuanye;
		this.resumeJingyan = resumeJingyan;
		this.resumeMoneyhope = resumeMoneyhope;
		this.resumeZaizhi = resumeZaizhi;
		this.resumeYingjie = resumeYingjie;
		this.resumeCreattime = resumeCreattime;
		this.resumeLvli = resumeLvli;
		this.resumeJianliurl = resumeJianliurl;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "resume_position")
	public MpPosition getMpPosition() {
		return this.mpPosition;
	}

	public void setMpPosition(MpPosition mpPosition) {
		this.mpPosition = mpPosition;
	}

	@Column(name = "resume_name", length = 200)
	public String getResumeName() {
		return this.resumeName;
	}

	public void setResumeName(String resumeName) {
		this.resumeName = resumeName;
	}

	@Column(name = "resume_sex")
	public Integer getResumeSex() {
		return this.resumeSex;
	}

	public void setResumeSex(Integer resumeSex) {
		this.resumeSex = resumeSex;
	}

	@Column(name = "resume_recruitment_type", length = 200)
	public String getResumeRecruitmentType() {
		return this.resumeRecruitmentType;
	}

	public void setResumeRecruitmentType(String resumeRecruitmentType) {
		this.resumeRecruitmentType = resumeRecruitmentType;
	}

	@Column(name = "resume_email", length = 200)
	public String getResumeEmail() {
		return this.resumeEmail;
	}

	public void setResumeEmail(String resumeEmail) {
		this.resumeEmail = resumeEmail;
	}

	@Column(name = "resume_phone", length = 20)
	public String getResumePhone() {
		return this.resumePhone;
	}

	public void setResumePhone(String resumePhone) {
		this.resumePhone = resumePhone;
	}

	@Column(name = "resume_hukou", length = 200)
	public String getResumeHukou() {
		return this.resumeHukou;
	}

	public void setResumeHukou(String resumeHukou) {
		this.resumeHukou = resumeHukou;
	}

	@Column(name = "resume_adress", length = 200)
	public String getResumeAdress() {
		return this.resumeAdress;
	}

	public void setResumeAdress(String resumeAdress) {
		this.resumeAdress = resumeAdress;
	}

	@Column(name = "resume_mianmao", length = 200)
	public String getResumeMianmao() {
		return this.resumeMianmao;
	}

	public void setResumeMianmao(String resumeMianmao) {
		this.resumeMianmao = resumeMianmao;
	}

	@Column(name = "resume_shenfen", length = 200)
	public String getResumeShenfen() {
		return this.resumeShenfen;
	}

	public void setResumeShenfen(String resumeShenfen) {
		this.resumeShenfen = resumeShenfen;
	}

	@Column(name = "resume_biye", length = 200)
	public String getResumeBiye() {
		return this.resumeBiye;
	}

	public void setResumeBiye(String resumeBiye) {
		this.resumeBiye = resumeBiye;
	}

	@Column(name = "resume_xueli")
	public Integer getResumeXueli() {
		return this.resumeXueli;
	}

	public void setResumeXueli(Integer resumeXueli) {
		this.resumeXueli = resumeXueli;
	}

	@Column(name = "resume_zhuanye", length = 200)
	public String getResumeZhuanye() {
		return this.resumeZhuanye;
	}

	public void setResumeZhuanye(String resumeZhuanye) {
		this.resumeZhuanye = resumeZhuanye;
	}

	@Column(name = "resume_jingyan", length = 200)
	public String getResumeJingyan() {
		return this.resumeJingyan;
	}

	public void setResumeJingyan(String resumeJingyan) {
		this.resumeJingyan = resumeJingyan;
	}

	@Column(name = "resume_moneyhope", length = 200)
	public String getResumeMoneyhope() {
		return this.resumeMoneyhope;
	}

	public void setResumeMoneyhope(String resumeMoneyhope) {
		this.resumeMoneyhope = resumeMoneyhope;
	}

	@Column(name = "resume_zaizhi", length = 200)
	public String getResumeZaizhi() {
		return this.resumeZaizhi;
	}

	public void setResumeZaizhi(String resumeZaizhi) {
		this.resumeZaizhi = resumeZaizhi;
	}

	@Column(name = "resume_yingjie", length = 200)
	public String getResumeYingjie() {
		return this.resumeYingjie;
	}

	public void setResumeYingjie(String resumeYingjie) {
		this.resumeYingjie = resumeYingjie;
	}

	@Column(name = "resume_creattime", length = 19)
	public Timestamp getResumeCreattime() {
		return this.resumeCreattime;
	}

	public void setResumeCreattime(Timestamp resumeCreattime) {
		this.resumeCreattime = resumeCreattime;
	}

	@Column(name = "resume_lvli", length = 200)
	public String getResumeLvli() {
		return this.resumeLvli;
	}

	public void setResumeLvli(String resumeLvli) {
		this.resumeLvli = resumeLvli;
	}

	@Column(name = "resume_jianliurl", length = 200)
	public String getResumeJianliurl() {
		return this.resumeJianliurl;
	}

	public void setResumeJianliurl(String resumeJianliurl) {
		this.resumeJianliurl = resumeJianliurl;
	}

}